@import "~ng-devui/styles-var/devui-var.scss";
@import "src/app/@shared/styles/common.scss";

.drawer-menu {
  background-color: #0b0c11;

  .top {
    background: #0b0c11;
    border: 1px solid #23252d;
    border-radius: 0px;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100px;

    .title {
      margin: 40px auto 40px 60px;
      width: 40px;
      height: 20px;
      font-size: 20px;
      font-family: Microsoft YaHei, Microsoft YaHei-Bold;
      font-weight: Bold;
      text-align: LEFT;
      color: #ffffff;
      line-height: 20px;
    }
  }

  .mainContent {
    .operationForm {
      width: 100%;
      padding-left: 10%;
      padding-right: 13%;
      background: #0b0c11;
      position: absolute;
      top: 100px;
      bottom: 100px;
      overflow: auto;

      ::ng-deep .devui-form-item {
        margin-bottom: 0;
      }

      ::ng-deep .devui-form-label {
        padding-bottom: 0;
      }

      ::ng-deep .devui-form-span {
        display: flex;
        height: 16px;
        font-size: 16px;
        color: #ffffff;
        font-family: Microsoft YaHei, Microsoft YaHei-Normal;
        font-weight: Normal;
        text-align: LEFT;
        line-height: 16px;
      }

      .collectionForm,
      .collectionFormRequired,
      .saleTimeFormRequired,
      .offShelfTimeFormRequired,
      .priceFormRequired {
        ::ng-deep .devui-form-span::after {
          content: "*";
          display: inline-block;
          margin-left: 10px;
          width: 8px;
          height: 16px;
          font-size: 16px;
          font-family: Microsoft YaHei, Microsoft YaHei-Normal;
          font-weight: Normal;
          text-align: LEFT;
          color: #ff0000;
          line-height: 16px;
        }
      }

      ::ng-deep .devui-form-span::before {
        content: none;
      }

      input {
        padding: 0 0;
        display: flex;
        height: 40px;
        border-radius: 0px;
        font-size: 14px;
        font-family: Microsoft YaHei, Microsoft YaHei-Normal;
        font-weight: Normal;
        text-align: LEFT;
        color: #8e8f97;
        line-height: 20px;
        background: #0b0c11;
        border: none;
        border-bottom: 1px solid #4a4b52;
        outline: none;
      }

      .price {
        padding-left: 12px;
      }

      ::ng-deep .devui-form-item-suffix {
        left: 0;
        height: 20px;
        width: 10px;
      }

      .priceExist {
        font-style: normal;
        font-size: 14px;
        color: #8e8f97;
      }

      .priceNotExist {
        font-style: normal;
        font-size: 14px;
        color: #4a4b52;
      }

      ::ng-deep .suffix {
        cursor: default;
      }

      ::ng-deep .devui-form-message {
        margin-top: 16px;
        height: 14px;
        opacity: 0.8;
        font-size: 14px;
        font-family: Microsoft YaHei, Microsoft YaHei-Normal;
        font-weight: Normal;
        text-align: LEFT;
        color: #ff0000;
        line-height: 14px;
      }

      input::-webkit-input-placeholder {
        color: #4a4b52;
      }

      ::ng-deep .devui-form-controls textarea:not([disabled]):not(.disabled):not(.devui-disabled):not(.error):not(.devui-error):focus,
      [dTextInput]:not([disabled]):not(.disabled):not(.devui-disabled):not(.error):not(.devui-error):focus,
      [dTextarea]:not([disabled]):not(.disabled):not(.devui-disabled):not(.error):not(.devui-error):focus {
        border: none;
        border-bottom: 1px solid #4a4b52;
        outline: none;
      }

      ::ng-deep [dTextInput]:not([disabled]):not(.disabled):not(.devui-disabled).error,
      [dTextarea]:not([disabled]):not(.disabled):not(.devui-disabled).error,
      [dTextInput]:not([disabled]):not(.disabled):not(.devui-disabled).devui-error,
      [dTextarea]:not([disabled]):not(.disabled):not(.devui-disabled).devui-error {
        border: none;
        border-bottom: 1px solid rgba(255, 0, 0, 0.6);
        outline: none;
      }

      ::ng-deep d-datepicker-pro:not([disabled]):not(.disabled):not(.devui-disabled).devui-error .devui-datepicker-pro-wrapper:not([disabled]):not(.disabled):not(.devui-disabled) .devui-dropdown-toggle .devui-single-picker .devui-input:not(.devui-disabled) {
        background-color: #0b0c11;
      }

      ::ng-deep d-datepicker-pro:not([disabled]):not(.disabled):not(.devui-disabled).devui-error .devui-datepicker-pro-wrapper:not([disabled]):not(.disabled):not(.devui-disabled) .devui-dropdown-toggle .devui-single-picker {
        background-color: #0b0c11;
        border-bottom: 1px solid rgba(255, 0, 0, 0.6);
      }

      ::ng-deep .devui-table .devui-month-table .devui-table-date.devui-table-date-disable span {
        color: var(--devui-placeholder);
      }

      .message {
        margin-top: 50px;

        .messageTitle {
          width: 64px;
          height: 16px;
          font-size: 16px;
          font-family: Microsoft YaHei, Microsoft YaHei-Normal;
          font-weight: Normal;
          text-align: LEFT;
          color: #ffffff;
          line-height: 16px;
        }

        .description {
          font-size: 14px;
          font-family: Microsoft YaHei, Microsoft YaHei-Normal;
          font-weight: Normal;
          text-align: JUSTIFY;
          color: #8e8f97;
          line-height: 22px;
          padding-top: 24px;
        }
      }

      .container {
        padding-top: 34px;
        display: flex;

        .picture {
          margin-right: 30px;
          width: 144px;
          height: 144px;
          background: #4a4b52;
          font-size: 14px;
          font-family: Microsoft YaHei, Microsoft YaHei-Normal;
          font-weight: Normal;
          text-align: CENTER;
          color: #333333;
          line-height: 20px;
        }

        .content {
          padding-top: 11px;
          padding-bottom: 11px;
          height: 36px;
          font-size: 14px;
          font-family: Microsoft YaHei, Microsoft YaHei-Normal;
          font-weight: Normal;
          text-align: LEFT center;
          color: #8e8f97;
        }
      }

      ::ng-deep .devui-dropdown .devui-dropdown-toggle {
        background-color: #0b0c11;
      }

      ::ng-deep .devui-datepicker-pro-wrapper .devui-input-group>.devui-input {
        background-color: #0b0c11;
        color: #8e8f97;
        font-size: 14px;
      }

      ::ng-deep .devui-dropdown-origin:not(d-button):not(.icon):not([class^="icon-"]):not(.devui-select-underlined-border):not(.devui-dropdown-no-border):not(.devui-no-border) {
        border: none;
        border-bottom: 1px solid #4a4b52;
        outline: none;

        ::ng-deep .devui-input::-webkit-input-placeholder {
          color: #4a4b52;
        }
      }
    }
  }

  .footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: #0b0c11;
    border: 1px solid #23252d;
    border-radius: 0px;
    display: flex;

    .save {
      margin-left: 60px;
      margin-top: 32px;
      width: 160px;
      height: 36px;
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid #ffffff;
      border-radius: 2px;
      font-size: 14px;
      font-family: Microsoft YaHei, Microsoft YaHei-Normal;
      font-weight: Normal;
      text-align: CENTER;
      color: #000000;
      line-height: 14px;
    }

    .cancel {
      margin-left: 20px;
      margin-top: 32px;
      width: 160px;
      height: 36px;
      background: #16181e;
      border: 1px solid #8e8f97;
      border-radius: 2px;
      font-size: 14px;
      font-family: Microsoft YaHei, Microsoft YaHei-Normal;
      font-weight: Normal;
      text-align: CENTER;
      color: #8e8f97;
      line-height: 14px;
    }
  }
}
